﻿using Microsoft.EntityFrameworkCore;
using SimpleSchedule.Models;

namespace SimpleSchedule.Data
{
    public class SSContext: DbContext
    {
        public DbSet<Schedule> Schedules { get; set; }
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlite("Data Source=./DB/data.db");
        }
    }
}
